﻿using org.se.fs.presenter.Library;

namespace org.se.fs.presenter.IView.Template
{
    public interface ISubMenus<T>
    {
        void Initialize();
        void TaskOnFetch(object source, FormEvent e);
        void TaskOnFetchLists(object source, FormEvent e);
        void TaskOnInsert(object source, FormEvent e);
        void TaskOnUpdate(object source, FormEvent e);
        void TaskOnDelete(object source, FormEvent e);
        void TaskOnToggle(object source, FormEvent e);
        void SetData(T data);
        T GetData();
        void Add();
        void Modify();
        bool Validate();
    }
}
